package com.example.springboot.modules.order.service;

import com.example.springboot.modules.order.mapper.SupplierMapper;
import com.example.springboot.modules.order.model.Supplier;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zql on 2018/7/15.
 */
@Service
public class SupplierService {
    @Autowired
    private SupplierMapper supplierMapper;


    public List<Supplier> getSupplierList() {
        return supplierMapper.selectAll();
    }
}
